package com.ddwl.schema.vo.goods.bargain;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

import java.math.BigDecimal;
import java.time.Instant;
import java.util.List;

/**
 * @Author hemiaojun
 * @Date 2020/10/29 10:50
 */
@Getter
@Setter
@ApiModel("砍价活动详情vo")
public class BargainActivityDetailVo {

    @ApiModelProperty("id")
    private String id;

    @ApiModelProperty("店铺id")
    private String shopId;

    @ApiModelProperty("店铺地址")
    private String shopAddr;

    @ApiModelProperty("活动名称")
    private String name;

    @ApiModelProperty(value = "限购数量 0代表不限购")
    private Integer limitQty;

    @ApiModelProperty(value="是否开启商家配送：0否，1是")
    private Integer localDeliveryTag;

    @ApiModelProperty(value = "是否开启物流配送：0否，1是")
    private Integer logisticsTag;

    @ApiModelProperty(value = "是否开启自提：0否，1是")
    private Integer selfMentionTag;

    @ApiModelProperty("活动开始时间")
    private Instant startTime;

    @ApiModelProperty("活动结束时间")
    private Instant endTime;

    @ApiModelProperty("帮砍金额，0：随机金额，1：固定帮砍人数")
    private Integer chopType;

    @ApiModelProperty("随机金额最小值")
    private BigDecimal randomMin;

    @ApiModelProperty("随机金额最大值")
    private BigDecimal randomMax;

    @ApiModelProperty("新用户模式是否开启 0：不开启，1：开启")
    private Integer newUserMode;

    @ApiModelProperty("新人倍率(整数)")
    private Integer newUserRate;

    @ApiModelProperty("帮砍人数")
    private Integer chopNum;

    @ApiModelProperty("砍价有效期 单位：小时")
    private Integer expireHour;

    @ApiModelProperty("虚拟销售")
    private Integer virtualSale;

    @ApiModelProperty("砍价规则")
    private String rules;

    @ApiModelProperty("商品id")
    private String itemId;

    @ApiModelProperty("商品名称")
    private String itemName;

    @ApiModelProperty("商品价格")
    private BigDecimal itemPrice;

    @ApiModelProperty("首刀金额")
    private BigDecimal firstMoney;

    @ApiModelProperty("底价")
    private BigDecimal thresholdPrice;

    @ApiModelProperty("超出底价后随机金额最小值")
    private BigDecimal thresholdRandomMin;

    @ApiModelProperty("超出底价后随机金额最大值")
    private BigDecimal thresholdRandomMax;

    @ApiModelProperty("商品信息")
    private BargainItemDetailVo itemVo;

    @ApiModelProperty("sku信息")
    private List<BargainSkuDetailVo> skuVoList;

    @ApiModelProperty("店铺地址经度")
    private String lng;

    @ApiModelProperty("店铺地址纬度")
    private String lat;

}
